package com.yang.common.constant;

/**
 * @author yangyongsheng
 * @date 2024/7/1 0:00
 * @description 缓存模块的key的前缀
 */
public interface CacheConstant {
    /**
     * 客户信息
     */
    String CLIENT_BUSINESS = "client_business:";

    /**
     * 客户签名
     */
    String CLIENT_SIGN = "client_sign:";

    /**
     * 客户模板
     */
    String CLIENT_TEMPLATE = "client_template:";

    /**
     * 客户余额
     */
    String CLIENT_BALANCE = "client_balance:";

    /**
     * 号码补全
     */
    String PHASE = "phase:";
    /**
     * 敏感词
     */
    String DIRTY_WORD = "dirty_word";

    /**
     * 黑名单
     */
    String BLACK = "black:";

    /**
     * 间隔符
     */
    String SEPARATE = ":";
    /**
     * 携号转网
     */
    String TRANSFER = "transfer:";

    /**
     *  60S限流规则
     */
    String LIMIT_MINUTES = "limit:minutes:";

    /**
     * 1h限流规则
     */
    String LIMIT_HOURS = "limit:hours:";

    /**
     * 客户和通道绑定的信息
     */
    String CLIENT_CHANNEL = "client_channel:";

    /**
     * 通道信息
     */
    String CHANNEL = "channel:";

}
